
%load horizondata.txt;
load horizondata2.txt;

%h=horizondata(:,1); %One-sided t-stats
h=horizondata2(:,1); %Two-sided t-stats
oil=horizondata2(:,4);
gas=horizondata2(:,2);

subplot(2,1,1)
plot(h,oil,'b-','linewidth',3)
title('WTI Crude Oil Price','fontsize',18)
axis([h(1) 15 0 0.5])
ylabel('Fraction','fontsize',18)

subplot(2,1,2)
plot(h,gas,'b-','linewidth',3)
title('U.S. Gasoline Price','fontsize',18)
axis([h(1) 15 0 0.5])
xlabel('Horizon (Business Days)','fontsize',18)
ylabel('Fraction','fontsize',18)
